package com.bdqn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bdqn.pojo.SysUser;

import java.util.List;

/**
 * SysUserMapper
 *
 * @author
 * @since 2021-11-26
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser login(String usrName, String usrPassword);
    SysUser addUser(SysUser user);
    SysUser deleteUser(Long usrId);
    SysUser updateUser(SysUser user);
    SysUser getUser(Long usrId);
    List<SysUser> findAllUsers();
}
